package top.honlnk.czuan.mapper.dict;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import top.honlnk.czuan.pojo.entity.BaiduDict;

import java.util.List;

@Mapper
public interface DataOssUrlMapper {

    void  batchInsertBaiduDist(List<BaiduDict> distList);

    @Select("select * from baidu_dist where word = #{word}")
    List<BaiduDict> getExplainByWord(String word);

    @Select("select * from baidu_dist where word LIKE CONCAT('%', #{word}, '%')")
    List<BaiduDict> getExplainByWordBlur(String word);

}
